package servidor;

import java.rmi.Remote;
import java.rmi.RemoteException;

import org.orm.PersistentException;

import orm.Registro;

public interface IServidor extends Remote {

	public boolean anadir(String nombre, String telefono) throws RemoteException;
	
	public void borrar(String telf) throws RemoteException, PersistentException;

	public Registro[] buscar(String nombre) throws RemoteException;
}
